package com.qyer.lxp.model.product.normal;

import javax.xml.bind.annotation.*;
import java.io.Serializable;
import java.util.List;

/**
 * Created by jiangping on 16/5/19.
 */
@XmlRootElement(name = "sale-item-info-list")
@XmlAccessorType(XmlAccessType.FIELD)
public class SaleItemInfoList implements Serializable {
    private static final long serialVersionUID = -415944317814176119L;

    @XmlElementWrapper(name = "sale-item-infos")
    @XmlElement(name = "sale-item-info")
    private List<SaleItemInfo> saleItemInfoList;

    @XmlElementWrapper(name = "product-specifications")
    @XmlElement(name = "product-specification")
    private List<ProductSpecfication> productSpecficationList;

    public List<SaleItemInfo> getSaleItemInfoList() {
        return saleItemInfoList;
    }

    public void setSaleItemInfoList(List<SaleItemInfo> saleItemInfoList) {
        this.saleItemInfoList = saleItemInfoList;
    }

    @Override
    public String toString() {
        return "SaleItemInfoList{" +
                "saleItemInfoList=" + saleItemInfoList +
                ", productSpecficationList=" + productSpecficationList +
                '}';
    }
}
